package com.stream.model.entity;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 角色
 * Created by Stream on 2017/5/22.
 */
public class SysRoleEntity implements Serializable{
    public static final long serialVresionUID = 1l;

    /**
    * 角色ID
    */
    private Long roleId;

    /**
    * 角色名称
    */
    @NotBlank(message = "角色名称不能为空")
    private String roleName;
    
    /**
    * 备注
    */
    private String remark;

    /**
    * 创建者ID
    */
    private Long createUserId;
    
    /**
    * 菜单ID
    */
    private List<Long> menuIdList;

    /**
     * 创建时间
     */
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public List<Long> getMenuIdList() {
        return menuIdList;
    }

    public void setMenuIdList(List<Long> menuIdList) {
        this.menuIdList = menuIdList;
    }

    
    
}
